package com.icoolkj.security.springmvc.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;
import org.springframework.stereotype.Controller;

/**
 * @author icoolkj
 * @version 1.0
 * @description 配置相当于 applicationContext.xml
 * @createDate 2025/02/06 20:37
 */
@Configuration
@ComponentScan(basePackages = "com.icoolkj.security.springmvc"
        , excludeFilters = {@ComponentScan.Filter(type = FilterType.ANNOTATION, value = {Controller.class})})
public class ApplicationConfig {
    // 在此配置除了 Controller 的其它 Bean，例如：数据库连接池、事务管理器、业务 Bean 等。
}
